package com.sevenGroup.pawnshop.service;

import com.sevenGroup.pawnshop.controller.form.FirstTypeForm;
import com.sevenGroup.pawnshop.controller.info.FirstTypeInfo;
import com.sevenGroup.pawnshop.exception.sevenGroupException;
import com.sevenGroup.pawnshop.model.FirstType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sevenGroup
 * @since 2022-02-16
 */
public interface FirstTypeService extends IService<FirstType> {

    void saveFirstType(FirstTypeForm firstTypeForm) throws sevenGroupException;

    List<FirstTypeInfo> findAll() throws sevenGroupException;

    void del(List<Integer> id) throws sevenGroupException;

    List<FirstTypeInfo> selectByName(String name) throws sevenGroupException;
}
